package com.ibeeking.found.cop.service.common.dos;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * @ClassName  GroupAdminsDO
 * @Description 群管理员表
 * @Author ibeeking
 * @Date 2021-01-15 10:44
 **/
@Data
@TableName("group_admins")
public class GroupAdminsDO implements Serializable {
    private static final long serialVersionUID = -1L;

    @TableId(type = IdType.ASSIGN_ID)
    private Long id;

    /**
     * 群id
     */
    @TableField(value = "group_id")
    private Long groupId;
    /**
     * 在企业微信的chatId
     */
    @TableField(value = "chat_id")
    private String chatId;

    /**
     * 成员id
     */
    @TableField(value = "employee_id")
    private Long employeeId;
    /**
     * 在企业微信中userId
     */
    @TableField(value = "employee_code")
    private String employeeCode;
}
